package com.link.base.base.standard.controller;

import com.link.base.base.standard.model.Standards;
import com.link.base.base.standard.service.StandardService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @author unknown
 * @date unknown
 * @comments 活动
 */
@Controller
@RequestMapping("/link/standard")
public class StandardController extends BasicController<Standards> {
    @Resource
    private StandardService standardService;


    @Override
    public BasicService<Standards> getBasicService() throws Exception {
        //throw new BasicControllerException("获取Basic Service 失败，请确认程序代码是否正确！");
        return standardService;
    }

}
